﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessLayer;

namespace PresentationLayer
{
    public partial class AlterarOfic : Form
    {
        public AlterarOfic()
        {
            InitializeComponent();
        }

        private void Alterar_Click(object sender, EventArgs e)
        {
            this.textFax.SelectAll();
            this.textMorada.SelectAll();
            this.textTel.SelectAll();
            if (OficinaActions.AlterarOficina(this.textTel.SelectedText, this.textFax.SelectedText, this.textFax.SelectedText))
                this.Close();
        }

    }
}
